package com.xxl.job.admin.core.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author chenlinqing
 * @description:
 * @date: 2025/8/20 18:54
 */
public class XxlJobAlarmConfig {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 通知类型 1、钉钉  2、企业微信 3 飞书  4、邮件
     */
    private Integer alarmType;
    /**
     * 通知标题
     */
    private String alarmTitle;

    /**
     * 接收方，多个用逗号分隔
     */
    private String alarmTos;
    /**
     * 有效状态：Y:生效；N：失效
     */
    private String validStatus;
    /**
     * 相同预期间隔多长时间，不再推送。单位分钟
     */
    private Integer alarmInterval;
    private String tenantId;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getAlarmType() {
        return alarmType;
    }

    public void setAlarmType(Integer alarmType) {
        this.alarmType = alarmType;
    }



    public Integer getAlarmInterval() {
        return alarmInterval;
    }

    public void setAlarmInterval(Integer alarmInterval) {
        this.alarmInterval = alarmInterval;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    public String getAlarmTitle() {
        return alarmTitle;
    }

    public void setAlarmTitle(String alarmTitle) {
        this.alarmTitle = alarmTitle;
    }

    public String getValidStatus() {
        return validStatus;
    }

    public void setValidStatus(String validStatus) {
        this.validStatus = validStatus;
    }

    public String getAlarmTos() {
        return alarmTos;
    }

    public void setAlarmTos(String alarmTos) {
        this.alarmTos = alarmTos;
    }
}
